﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TencentYoutuYun.SDK.Csharp.Model
{
    public class DetectfaceViewModel
    {
        public string session_id { get; set; }
        public int image_width { get; set; }
        public int image_height { get; set; }
        public List<FaceModel> face { get; set; }
        public int errorcode { get; set; }
        public string errormsg { get; set; }
    }

    public class FaceModel
    {
        public string face_id { get; set; }
        public string x { get; set; }
        public string y { get; set; }
        public string width { get; set; }
        public string height { get; set; }
        public int gender { get; set; }
        public int age { get; set; }
        public int expression { get; set; }
        public int beauty { get; set; }
        public string glass { get; set; }
        public string pitch { get; set; }
        public string yaw { get; set; }
        public string roll { get; set; }
        public List<FaceShapeModel> face_shape { get; set; }
    }

    public class ApiFaceshapeViewModel
    {
        public string session_id { get; set; }
        public int image_width { get; set; }
        public int image_height { get; set; }
        public List<FaceShapeModel> face_shape { get; set; }
        public int errorcode { get; set; }
        public string errormsg { get; set; }
    }

    public class FaceShapeModel
    {
        public List<PointModel> face_profile { get; set; }
        public List<PointModel> left_eye { get; set; }
        public List<PointModel> right_eye { get; set; }
        public List<PointModel> left_eyebrow { get; set; }
        public List<PointModel> right_eyebrow { get; set; }
        public List<PointModel> mouth { get; set; }
        public List<PointModel> nose { get; set; }
        
    }

    public class PointModel
    {
        public int x { get; set; }
        public int y { get; set; }
    }

}
